function loadContent(){
	var obj=new Array()
	$.ajax({url: 'http://localhost/bongda365/service.php?name=newshome',
		dataType:'json',
		success: onSuccess, 
		error: onFail});
};

function onSuccess(data,stt){
		
	$("#hotnewsImg").attr("src","http://localhost/bongda365/upload/" + data.homehot.smallimages);
	$("#hotnewsTitle").html(data.homehot.displayname);
	$("#hotnewsDesc").html(data.homehot.description);
	
	$("#newsItem0Img").attr("src","http://localhost/bongda365/upload/" + data.pointitem0.smallimages);
	$("#newsItem0Title").html(data.pointitem0.displayname);
	
	$("#newsItem1Img").attr("src","http://localhost/bongda365/upload/" + data.pointitem1.smallimages);
	$("#newsItem1Title").html(data.pointitem1.displayname);
	
	$("#newsItem2Img").attr("src","http://localhost/bongda365/upload/" + data.pointitem2.smallimages);
	$("#newsItem2Title").html(data.pointitem2.displayname);
	
	$("#other0").html(data.title0.displayname);
	$("#other1").html(data.title1.displayname);
	$("#other2").html(data.title2.displayname);
}

function onFail(a,b,c){
	alert(a);
	alert(b);
	alert(c);
}